package com.hnucm.springboot.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
//TableName对应的表名
@TableName("student")
@Data
public class Student {
    //TableId主键
    @TableId
    private int id;
    @TableField
    private int age;
    private String name;
}
